package com.jsam.dtos;

import java.io.Serializable;
import java.sql.Date;

public class UserDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6915570651905256283L;
	/*
	USER_INDEX	NUMBER
	USER_ID		VARCHAR2(20 BYTE)
	PASSWORD	VARCHAR2(20 BYTE)
	NAME		VARCHAR2(20 BYTE)
	EMAIL		VARCHAR2(20 BYTE)
	REG_DATE	DATE
	*/
	private int userIndex;
	private String userId;
	private String password;
	private String name;
	private String email;
	private Date regDate;
	public int getUserIndex() {
		return userIndex;
	}
	public void setUserIndex(int userIndex) {
		this.userIndex = userIndex;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "["+userIndex+","+userId+","+password+","+name+","+email+","+regDate+"]";
	}	
}
